package com.gitee.cnlongdb.basic.entity.query;

import java.io.File;
import java.util.ArrayList;
import java.util.List;

/**
 * 系统名称：QueryThreadEntity.java
 * 模块名称：
 * 模块描述：多线程查询实体类
 * 功能列表：
 * 模块作者：ZOUYONG
 * 开发时间：2018年12月5日 下午9:57:54
 * 模块路径：com.gitee.cnlongdb.basic.entity.query.QueryThreadEntity
 * 更新记录：
 */
public class QueryThreadEntity {
	
	// 需要查询的文件
	private File file;
	
	// 查询的条件
	private LongDbQuery query;
	
	// 总查询的请求ID
	private String requestId;
	
	// 当前线程查询ID
	private String currThreadId;
	
	// 需要查询的总数据量
	private Integer totalCount;
	
	// 查询的结果集合
	private List<String> objectList = new ArrayList<String>();
	
	// 查询到第几个线程数量
	private int threads;
	
	// 查询的总线程数量
	private int totalThreads;

	public int getThreads() {
		return threads;
	}

	public void setThreads(int threads) {
		this.threads = threads;
	}

	public List<String> getObjectList() {
		return objectList;
	}

	public void setObjectList(List<String> objectList) {
		this.objectList = objectList;
	}

	public String getRequestId() {
		return requestId;
	}

	public void setRequestId(String requestId) {
		this.requestId = requestId;
	}

	public int getTotalThreads() {
		return totalThreads;
	}

	public void setTotalThreads(int totalThreads) {
		this.totalThreads = totalThreads;
	}

	public Integer getTotalCount() {
		return totalCount;
	}

	public void setTotalCount(Integer totalCount) {
		this.totalCount = totalCount;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public LongDbQuery getQuery() {
		return query;
	}

	public void setQuery(LongDbQuery query) {
		this.query = query;
	}

	public String getCurrThreadId() {
		return currThreadId;
	}

	public void setCurrThreadId(String currThreadId) {
		this.currThreadId = currThreadId;
	}

}
